import { ref } from 'vue'
import { ItemType } from "@/components/types/types"


const bill = ref<ItemType[]>([
  { 
    label: '代表',
    model: 'mrId',
    placeholder: '请选择',
    type: 'select',
    disabled: true,
    url: '/base/medicalRepresentative/list',
    selectData: [],
    parm: {
      isDeleted: 0,
      status: 6
    },
  },
  {
    label: '试卷分类',
    model: 'paperKind',
    type: 'select',
    dict: 'paper_mana_kind',
    disabled: true,
    selectData: []
  },
  {
    label: '得分',
    model: 'score',
    placeholder: '请输入',
    disabled: true,
    type: 'input'
  },
  {
    label: '试卷',
    model: 'returnNumber',
    placeholder: '请输入',
    disabled: true,
    type: 'input'
  }
])
interface Parmes {
  status?: number;
  billingStatus?: number;
  accountTime?: any;
  setTime?: any,
  [propName: string]: any;
}
const datas = ref<Parmes>({
  status: 1,
  billingStatus: 1,
  accountTime: new Date(),
  setTime: new Date(),
})
export default { bill, datas }